﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="wuc_BinhLuanSanPham.ascx.cs" Inherits="FastDeal.Control.wuc_BinhLuanSanPham" %>
<style type="text/css">
    .style1
    {
        width: 100%;
    }
    .style2
    {
        width: 62px;
    }
</style>
<div id="BinhLuan" align="center">
    
    <asp:GridView ID="gvBinhLuan" runat="server" AutoGenerateColumns="False" 
        CellPadding="4" ForeColor="#333333" GridLines="None" Width="526px">
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
        <Columns>
            <asp:TemplateField HeaderText="Bình Luận ">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <table class="style1" width="500">
                        <tr>
                            <td align="right" class="style2">
                                <asp:Image ID="Image2" runat="server" Height="60px" 
                                    ImageUrl="~/HinhAnh/avatar.jpg" Width="60px" />
                            </td>
                            <td valign="top" width="400">
                                <asp:HyperLink ID="HyperLink1" runat="server" Font-Bold="False" 
                                    Font-Italic="True" ForeColor="#3399FF" 
                                    NavigateUrl='<%# "~/TaiKhoan.aspx?ID=" + Eval("nx.UserID") %>' 
                                    Text='<%# Bind("tk.Username") %>'></asp:HyperLink>
                                :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:Label ID="lbNhanXet" runat="server" Text='<%# Bind("nx.NoiDung") %>' 
                                    Width="400px"></asp:Label>
                            </td>
                        </tr>
                    </table>
                    <asp:Image ID="Image1" runat="server" Height="2px" />
                </ItemTemplate>
                <ItemStyle Width="500px" />
            </asp:TemplateField>
        </Columns>
        <EditRowStyle BackColor="#999999" />
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#E9E7E2" />
        <SortedAscendingHeaderStyle BackColor="#506C8C" />
        <SortedDescendingCellStyle BackColor="#FFFDF8" />
        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
    </asp:GridView>
    
</div>